<template>
  <div>
    <!-- 登陆页 -->
    <el-button type="primary" @click="toLogin">登陆</el-button>
  </div>
</template>

<script lang="ts" setup name="">
import {

  onMounted
} from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
// const { proxy } = getCurrentInstance();

function toLogin() {
  router.push("main");
}

onMounted(() => {});
</script>
<style scoped lang="scss">
.dis-flex {
  display: flex;
  align-items: center;
}
</style>
